<template>
  <div class="">test</div>
</template>

<script setup lang="ts">
import axios from 'axios'
import request from '../../utils/request'
// axios({ method: 'post', url: '/api/user/login', data: { username: 'admin', password: '111111' } }).then(result => {
//   console.log(result)
// })
// request({ method: 'post', url: '/api/user/login', data: { username: 'admin', password: '111111' } }).then(result => {
//   console.log(result)
// })
// import { loginreq } from '@/api/login'
// import { useRouter } from 'vue-router'
// const $router = useRouter()
// let res = loginreq({ username: 'admin', password: '111111' })
// res.then(r => {
//   if (r.code == '200') {
//     $router.push('layout')
//   }
// })
// console.log(res)
</script>

<style lang="scss" scoped></style>
